<template>
    <div>
        <downLoad display="inline-block"  @upload="upLoad">
        </downLoad>
        <el-button @click="downLoadd">点击下载视频</el-button>
    </div>
</template>

<script>
import downLoad from '@/components/PublicComponents/downLoad.vue'
export default {
    name: 'association',
    data() {
        return {
            reverseSideOfIdCardPath:[]
        }
    },
    components: {
        downLoad
    },
    mounted() {
    },
    methods: {
        upLoad(file, fileList) {
            const filePathSuccess = []
            for (let i = 0; i < fileList.length; i++) {
                filePathSuccess.push({
                    filePath: fileList[i].response.data
                })
            }
            this.reverseSideOfIdCardPath = filePathSuccess
            console.log(this.reverseSideOfIdCardPath)
        },
        //视频下载
        downLoadd(){
            const item = {
                filePath:'/\\2022-08-01\\539091049320000.mp4',
                fileName:'测试视频.mp4'
            }
            this.$downloadModel.fileDownload(item)
        }
    }
}
</script>

<style scoped lang="scss">
</style>

